#! /bin/bash

function sum()
{
	sum=$[$1+$2]
	echo $sum
}
read -p "请输入第一个数：" n1
read -p "请输入第二个数：" n2
sum $n1 $n2
